//
//  ViewController.m
//  hello
//
//  Created by mc on 05.03.12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()


@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad]; 
   // label.text=@"Hi again!";
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)viewDidUnload
{
    [super viewDidUnload];   
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
        return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
    } else {
        return YES;
    }
}

-(IBAction)buttonPressed:(id)sender{
    label.text=@"Button checked";
    button.hidden=YES;
    label.textColor=[UIColor redColor];
   // label.font=[UIFont systemFontOfSize::15.0];
   // label.font=[UIFont systemFontOfSize:<#(CGFloat)#>Size:43.0];
    
}

-(IBAction)sliderdrag:(id)sender {
 //   NSString *sd;
 // //  float slid;
 //   slid=slider.value;
    
    
    
    textfield.text= @"Тип значение слайдера";
}


@end
